//
//  WMUpdateView.h
//  WMUpdateView
//
//  Created by mac on 16/2/21.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    
    WMUpdateViewTypeNormal,
    WMUpdateViewTypeForce,
    WMUpdateViewTypeOther
    
} WMUpdateViewType;

typedef void(^WMUpdateViewBlock)(void);

@interface WMUpdateView : UIView

- (void) show;

- (instancetype)initWithTitle:(NSString *)title
       imageUrl:(NSString *)imageUrl
    contentText:(NSString *)contentText
   confirmTitel:(NSString *)confirmTitle
           type:(WMUpdateViewType)updateViewType
   confirmBlock:(WMUpdateViewBlock)confirmBlock
    cancleBlock:(WMUpdateViewBlock)cancleBlock;


@end


@interface  UIImage(colorful)

+ (UIImage *)imageWithColor:(UIColor *)color;

@end